import Mock from "mockjs"
import homeApi from './mockData/home.js'
import userApi from "@/api/mockData/user.js";
//param1 拦截路径，param2请求方法，param3返回数据
Mock.mock(/api\/home\/getTableData/,"get",homeApi.getTableData())
Mock.mock(/api\/home\/getCountData/,"get",homeApi.getCountData())
Mock.mock(/home\/getChartData/,"get", homeApi.getChartData)
Mock.mock(/user\/getUserData/,"get", userApi.getUserList)
Mock.mock(/user\/delUser/,"get", userApi.deleteUser)

